package com.whminwei.edu.api.dc.dto.fspn.tch_base;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangjq
 * @since 2024-10-24
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcEduSchemeFspn {

    private List<DcEduScheme> schemeList;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcEduScheme {
        /**
         * 专业ID
         */
        private String majorId;
        /**
         * 年级
         */
        private int year;
        /**
         * 课程ID
         */
        private String courseId;
        /**
         * 理论学时
         */
        private int theory;
        /**
         * 实践学时
         */
        private int practic;
        /**
         * 各学期学时
         * 依次为第一学年秋、春、第二学年秋、春、第三学年秋、春，共6个学期
         */
        private List<Integer> hours;
    }
}
